package comum;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedHashSet;


public interface Cliente extends Remote{
	
    public void notificarEspera(HashSet<String> jogadoresConectados) throws RemoteException;
    
    public void notificarErroDeConexao() throws RemoteException;        
    
    public void registrarMaoDeCartas(LinkedHashSet<CartaComum> mao) throws RemoteException;

    public void iniciarPartida(Mesa mesa) throws RemoteException;
    
    public void atualizarMesa(Mesa mesa) throws RemoteException;
    
    public void terminarPartida(Mesa mesa, HashMap<String,Integer> ranking) 
    	throws RemoteException;

    public void notificarDesconexao() throws RemoteException;
}
